package com.rentong.wx.cust.service.impl;

import com.rentong.wx.cust.dao.CustFlowDao;
import com.rentong.wx.cust.dto.CustFlowEntityDto;
import com.rentong.wx.cust.dto.CustFlowVo;
import com.rentong.wx.cust.service.CustFlowService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CustFlowServiceImpl implements CustFlowService {

    @Resource
    private CustFlowDao custFlowDao;


    @Transactional(rollbackFor = Exception.class)
    @Override
    public List<CustFlowVo> getFlow(CustFlowEntityDto custFlowEntityDto) {
        return custFlowDao.getFlow(custFlowEntityDto);
    }




}